using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Raster._RasterProperties
{
    /// <summary>
    /// <para>Delete Colormap</para>
    /// <para>Removes the color map associated with a raster dataset.</para>
    /// <para>移除与栅格数据集关联的颜色映射表。</para>
    /// </summary>    
    [DisplayName("Delete Colormap")]
    public class DeleteColormap : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DeleteColormap()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_raster">
        /// <para>Input Raster</para>
        /// <para>The raster dataset that containing the color map you want to remove.</para>
        /// <para>包含要移除的颜色映射表的栅格数据集。</para>
        /// </param>
        public DeleteColormap(object _in_raster)
        {
            this._in_raster = _in_raster;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Delete Colormap";

        public override string CallName => "management.DeleteColormap";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_raster, _out_raster];

        /// <summary>
        /// <para>Input Raster</para>
        /// <para>The raster dataset that containing the color map you want to remove.</para>
        /// <para>包含要移除的颜色映射表的栅格数据集。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Raster")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_raster { get; set; }


        /// <summary>
        /// <para>Updated Input Raster</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Raster")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_raster { get; set; }


        public DeleteColormap SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}